package com.mes.basicdata.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bstek.dorado.annotation.DataProvider;
import com.mes.basicdata.dao.iface.IOperationMeasurementDao;
import com.mes.basicdata.domain.OperationMeasurement;
import com.mes.common.service.BasicService;
@Service
public class OperationMeasurementService extends BasicService<OperationMeasurement> {

	@Autowired 
	private IOperationMeasurementDao operationMeasurementDao;
	
	@DataProvider
	public List<OperationMeasurement> getOperationMeasurementByOperationUid(String operationUid) throws Exception{
		return operationMeasurementDao.getOperationMeasurementListByOperationUid(operationUid);
	}
	
}
